<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@ include file="/public/pathvariable.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache"> 
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"> 
		<meta http-equiv="expires" content="0">
		<title>系统管理员</title>
		<link rel="stylesheet" href="<%=basePath %>css/style.css">
		<link rel="stylesheet" href="<%=basePath %>css/f_style.css">
		<link rel="stylesheet" href="<%=basePath %>css/ui_base.css">
		<link rel="stylesheet" href="<%=basePath %>css/d_msg.css">
	</head>
	<style>
		.CustomsAreaList{margin-top:10px;}
		.infoLlist{margin-left:0 !important;}
		.ktab .td a{margin:0 5px;}
		.boxPosition{position:relative;top:3px;margin-right:5px;}
	</style>
	<body>
		<!--抬头bar-->
		<jsp:include page="/public/header.jsp" />
		<div class="main w clearfix">
			<!--<jsp:include page="/public/left.jsp" />-->
			<div class="posr2">
				<div class="path_">
					<a href="<%=basePath %>index.jsp?parId=0">首页</a> >
					<a href="<%=basePath %>system/index.jsp?parId=6">系统管理</a> >
					<a href="<%=basePath %>system/administrator.jsp?parId=601">系统管理员</a>
				</div>
				<input type="hidden" id="userTypeNow"/>
				<div class="key">
					<div class="key_">
						<div class="k_name fl">管理员名&nbsp;
							<input type="text" class="ui_text w380 enterSearch" id="adminNameSearch">
						</div>
						<div class="k_btn fl">
							<a href="javascript:void(0)" class="ui_btn yellow enterSearch" id="selectAll">查询</a>
							<span class="ui_btn green" id="k_add">新增</span>
						</div>
					</div>
					<div class="key_table">
						<div class="title">管理员信息列表</div>
						<table width="100%" border="0" cellspacing="1" cellpadding="0" class="ktab">
						</table>
					</div>
				</div>
			</div>
		</div>

		<!--新增管理员浮层-->
		<div class="key_layer">
			<i class="closeBtn"></i>
			<div class="tit">
				管理员新增编辑
			</div>
			<div class="layerfrom formular validationEngineContainer" id="addAdminArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<tr>
							<td class="name">管理员名</td>
							<td>
								<input type="text" class="ui_text w240 clearFormInput" id="adminNameText" data-validation-engine="validate[required,minSize[3],maxSize[50],custom[onlyLetterNumber]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！" />
							</td>
						</tr>
						<tr>
							<td class="name">登录密码</td>
							<td>
								<input type="password" class="ui_text w240 clearFormInput" id="adminPwdText" data-validation-engine="validate[required,minSize[6],maxSize[20],custom[onlyLetterNumber]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！" />
							</td>
						</tr>
					</table>
				</fieldset>
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="addAdminBtn">保存</span>
				<span class="ui_btn cancelLayer">关闭</span>
			</div>
		</div>
		
		<!--修改超级管理员浮层-->
		<div class="key_layerSuperEdit">
			<i class="closeBtn"></i>
			<div class="tit">
				超级管理员修改编辑
			</div>
			<input type="hidden" id="userSuperEditId">
			<div class="layerfrom formular validationEngineContainer" id="editAdminSuperArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<tr>
							<td class="name">管理员名</td>
							<td>
								<input type="text" class="ui_text w240 clearFormInput" id="adminNameSuperEditText" readonly="readonly" />
							</td>
						</tr>
						<tr>
							<td class="name">登录密码</td>
							<td>
								<!-- <input type="password" class="ui_text w240 clearFormInput" id="adminPwdSuperEditText" data-validation-engine="validate[required,minSize[6],maxSize[20]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！" /> -->
								<input type="password" class="ui_text w240 clearFormInput" id="adminPwdSuperEditText" data-validation-engine="validate[minSize[6],maxSize[20],custom[onlyLetterNumber]]" data-prompt-position="centerRight"/>
							</td>
						</tr>
					</table>
				</fieldset>
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="editAdminSuperBtn">保存</span>
				<span class="ui_btn cancelLayer">关闭</span>
			</div>
		</div>
		
		<!--修改管理员浮层-->
		<div class="key_layerEdit">
			<i class="closeBtn"></i>
			<div class="tit">
				管理员修改编辑
			</div>
			<input type="hidden" id="userEditId">
			<div class="layerfrom formular validationEngineContainer" id="editAdminArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<tr>
							<td class="name">管理员名</td>
							<td>
								<input type="text" class="ui_text w240 clearFormInput" id="adminNameEditText" data-validation-engine="validate[required,minSize[3],maxSize[50],custom[onlyLetterNumber]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！" />
							</td>
						</tr>
						<tr>
							<td class="name">登录密码</td>
							<td>
								<!-- <input type="password" class="ui_text w240 clearFormInput" id="adminPwdEditText" data-validation-engine="validate[required,minSize[6],maxSize[20]]" data-prompt-position="centerRight" data-errormessage-value-missing=" * 不能为空！" /> -->
								<input type="password" class="ui_text w240 clearFormInput" id="adminPwdEditText" data-validation-engine="validate[minSize[6],maxSize[20],custom[onlyLetterNumber]]" data-prompt-position="centerRight" />
							</td>
						</tr>
					</table>
				</fieldset>
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="editAdminBtn">保存</span>
				<span class="ui_btn cancelLayer">关闭</span>
			</div>
		</div>

		<!--管理员权限修改浮层-->
		<div class="key_layerRightEdit">
			<i class="closeBtn"></i>
			<div class="tit">
				系统管理员权限编辑
			</div>
			<input type="hidden" id="userRightId">
			<input type="hidden" id="permissionId">
			<div class="layerfrom formular validationEngineContainer" id="editAdminRightArea">
				<fieldset>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lftab">
						<tr>
							<td class="name">管理员名</td>
							<td>
								<input type="text" class="ui_text w240 clearFormInput" readonly="readonly" id="adminNameRightEditText" />
							</td>
						</tr>
						<tr>
							<td class="name">拥有权限</td>
							<td>
								<div id="CustomsAreaList" class="autoYHidden CustomsAreaList" style="margin-left:0;">
									<div class="infoLlist" title="信息管理">
										<span class="ui_checkbox boxPosition" id="msgAdmTag" idR="1"></span><font>信息管理</font>
									</div>
									<div class="infoLlist" title="方案管理">
										<span class="ui_checkbox boxPosition" id="pramAdmTag" idR="2"></span><font>方案管理</font>
									</div>
									<div class="infoLlist" title="报告管理">
										<span class="ui_checkbox boxPosition" id="rptAdmTag" idR="3"></span><font>报告管理</font>
									</div>
									<div class="infoLlist" title="资源调配">
										<span class="ui_checkbox boxPosition" id="rscAdmTag" idR="4"></span><font>资源调配</font>
									</div>
									<div class="infoLlist" title="客户管理">
										<span class="ui_checkbox boxPosition" id="clieAdmTag" idR="5"></span><font>客户管理</font>
									</div>	
									<div class="infoLlist" title="日志管理">
										<span class="ui_checkbox boxPosition" id="logAdmTag" idR="7"></span><font>日志管理</font>
									</div>						
									<div class="clear"></div>
								</div>
							</td>
						</tr>
					</table>
				</fieldset>
			</div>
			<div class="kl_submit">
				<span class="ui_btn yellow" id="editAdminRightBtn">保存</span>
				<span class="ui_btn cancelLayer">关闭</span>
			</div>
		</div>
		</script>
		<script src="<%=basePath %>js/jquery.min.1.8.2.js"></script>
		<script src="<%=basePath %>js/layer/layer.min.js"></script>
		<script src="<%=basePath %>js/config.js"></script>
		<script src="<%=basePath %>js/f_paging2.js"></script>
		<script src="<%=basePath %>js/f_paging3.js"></script>

		<script type="text/javascript" src="<%=basePath %>js/f_index_left_menu_tree.js"></script>
		<script src="<%=basePath %>js/userSession.js"></script>
		<!--表单验证插件引入-->
		<link rel="stylesheet" href="<%=basePath %>js/Validation/css/validationEngine.jquery.css">
		<script src="<%=basePath %>js/Validation/js/jquery.validationEngine-zh_CN.js"></script>
		<script src="<%=basePath %>js/Validation/js/jquery.validationEngine.js"></script>
		<script type="text/javascript" src="<%=basePath %>system/js/administrator.js"></script>
	</body>

</html>